Optimal. Leaf size=149 \[ -\frac {1}{32} (10-3 x) \left (12 x^2+17 x+6\right )^{7/2}-\frac {873 \left (12 x^2+17 x+6\right )^{7/2}}{1792}+\frac {25091 (24 x+17) \left (12 x^2+17 x+6\right )^{5/2}}{24576}-\frac {125455 (24 x+17) \left (12 x^2+17 x+6\right )^{3/2}}{4718592}+\frac {125455 (24 x+17) \sqrt {12 x^2+17 x+6}}{150994944}-\frac {125455 \tanh ^{-1}\left (\frac {24 x+17}{4 \sqrt {3} \sqrt {12 x^2+17 x+6}}\right )}{603979776 \sqrt {3}} \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 149, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 6, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.176, Rules used = {1002, 742, 640, 612, 621, 206} \begin {gather*} -\frac {1}{32} (10-3 x) \left (12 x^2+17 x+6\right )^{7/2}-\frac {873 \left (12 x^2+17 x+6\right )^{7/2}}{1792}+\frac {25091 (24 x+17) \left (12 x^2+17 x+6\right )^{5/2}}{24576}-\frac {125455 (24 x+17) \left (12 x^2+17 x+6\right )^{3/2}}{4718592}+\frac {125455 (24 x+17) \sqrt {12 x^2+17 x+6}}{150994944}-\frac {125455 \tanh ^{-1}\left (\frac {24 x+17}{4 \sqrt {3} \sqrt {12 x^2+17 x+6}}\right )}{603979776 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 206
Rule 612
Rule 621
Rule 640
Rule 742
Rule 1002
Rubi steps
\begin {align*} \int (2+3 x)^2 \left (30+31 x-12 x^2\right )^2 \sqrt {6+17 x+12 x^2} \, dx &=\int (10-3 x)^2 \left (6+17 x+12 x^2\right )^{5/2} \, dx\\ &=-\frac {1}{32} (10-3 x) \left (6+17 x+12 x^2\right )^{7/2}+\frac {1}{96} \int \left (11331-\frac {7857 x}{2}\right ) \left (6+17 x+12 x^2\right )^{5/2} \, dx\\ &=-\frac {873 \left (6+17 x+12 x^2\right )^{7/2}}{1792}-\frac {1}{32} (10-3 x) \left (6+17 x+12 x^2\right )^{7/2}+\frac {75273}{512} \int \left (6+17 x+12 x^2\right )^{5/2} \, dx\\ &=\frac {25091 (17+24 x) \left (6+17 x+12 x^2\right )^{5/2}}{24576}-\frac {873 \left (6+17 x+12 x^2\right )^{7/2}}{1792}-\frac {1}{32} (10-3 x) \left (6+17 x+12 x^2\right )^{7/2}-\frac {125455 \int \left (6+17 x+12 x^2\right )^{3/2} \, dx}{49152}\\ &=-\frac {125455 (17+24 x) \left (6+17 x+12 x^2\right )^{3/2}}{4718592}+\frac {25091 (17+24 x) \left (6+17 x+12 x^2\right )^{5/2}}{24576}-\frac {873 \left (6+17 x+12 x^2\right )^{7/2}}{1792}-\frac {1}{32} (10-3 x) \left (6+17 x+12 x^2\right )^{7/2}+\frac {125455 \int \sqrt {6+17 x+12 x^2} \, dx}{3145728}\\ &=\frac {125455 (17+24 x) \sqrt {6+17 x+12 x^2}}{150994944}-\frac {125455 (17+24 x) \left (6+17 x+12 x^2\right )^{3/2}}{4718592}+\frac {25091 (17+24 x) \left (6+17 x+12 x^2\right )^{5/2}}{24576}-\frac {873 \left (6+17 x+12 x^2\right )^{7/2}}{1792}-\frac {1}{32} (10-3 x) \left (6+17 x+12 x^2\right )^{7/2}-\frac {125455 \int \frac {1}{\sqrt {6+17 x+12 x^2}} \, dx}{301989888}\\ &=\frac {125455 (17+24 x) \sqrt {6+17 x+12 x^2}}{150994944}-\frac {125455 (17+24 x) \left (6+17 x+12 x^2\right )^{3/2}}{4718592}+\frac {25091 (17+24 x) \left (6+17 x+12 x^2\right )^{5/2}}{24576}-\frac {873 \left (6+17 x+12 x^2\right )^{7/2}}{1792}-\frac {1}{32} (10-3 x) \left (6+17 x+12 x^2\right )^{7/2}-\frac {125455 \operatorname {Subst}\left (\int \frac {1}{48-x^2} \, dx,x,\frac {17+24 x}{\sqrt {6+17 x+12 x^2}}\right )}{150994944}\\ &=\frac {125455 (17+24 x) \sqrt {6+17 x+12 x^2}}{150994944}-\frac {125455 (17+24 x) \left (6+17 x+12 x^2\right )^{3/2}}{4718592}+\frac {25091 (17+24 x) \left (6+17 x+12 x^2\right )^{5/2}}{24576}-\frac {873 \left (6+17 x+12 x^2\right )^{7/2}}{1792}-\frac {1}{32} (10-3 x) \left (6+17 x+12 x^2\right )^{7/2}-\frac {125455 \tanh ^{-1}\left (\frac {17+24 x}{4 \sqrt {3} \sqrt {6+17 x+12 x^2}}\right )}{603979776 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.19, size = 87, normalized size = 0.58 \begin {gather*} \frac {12 \sqrt {12 x^2+17 x+6} \left (171228266496 x^7-732816211968 x^6-1190083166208 x^5+3438453030912 x^4+8974844476416 x^3+7899203409792 x^2+3132157281976 x+474999091769\right )-878185 \sqrt {3} \tanh ^{-1}\left (\frac {24 x+17}{4 \sqrt {36 x^2+51 x+18}}\right )}{12683575296} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.73, size = 92, normalized size = 0.62 \begin {gather*} \frac {\sqrt {12 x^2+17 x+6} \left (171228266496 x^7-732816211968 x^6-1190083166208 x^5+3438453030912 x^4+8974844476416 x^3+7899203409792 x^2+3132157281976 x+474999091769\right )}{1056964608}-\frac {125455 \tanh ^{-1}\left (\frac {2 \sqrt {12 x^2+17 x+6}}{\sqrt {3} (4 x+3)}\right )}{301989888 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.95, size = 88, normalized size = 0.59 \begin {gather*} \frac {1}{1056964608} \, {\left (171228266496 \, x^{7} - 732816211968 \, x^{6} - 1190083166208 \, x^{5} + 3438453030912 \, x^{4} + 8974844476416 \, x^{3} + 7899203409792 \, x^{2} + 3132157281976 \, x + 474999091769\right )} \sqrt {12 \, x^{2} + 17 \, x + 6} + \frac {125455}{3623878656} \, \sqrt {3} \log \left (-8 \, \sqrt {3} \sqrt {12 \, x^{2} + 17 \, x + 6} {\left (24 \, x + 17\right )} + 1152 \, x^{2} + 1632 \, x + 577\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.30, size = 85, normalized size = 0.57 \begin {gather*} \frac {1}{1056964608} \, {\left (8 \, {\left (48 \, {\left (24 \, {\left (96 \, {\left (24 \, {\left (48 \, {\left (168 \, x - 719\right )} x - 56047\right )} x + 3886417\right )} x + 973832951\right )} x + 20570842213\right )} x + 391519660247\right )} x + 474999091769\right )} \sqrt {12 \, x^{2} + 17 \, x + 6} + \frac {125455}{1811939328} \, \sqrt {3} \log \left ({\left | -4 \, \sqrt {3} {\left (2 \, \sqrt {3} x - \sqrt {12 \, x^{2} + 17 \, x + 6}\right )} - 17 \right |}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 147, normalized size = 0.99 \begin {gather*} \frac {27 \left (12 x^{2}+17 x +6\right )^{\frac {3}{2}} x^{5}}{2}-\frac {8613 \left (12 x^{2}+17 x +6\right )^{\frac {3}{2}} x^{4}}{112}+\frac {14991 \left (12 x^{2}+17 x +6\right )^{\frac {3}{2}} x^{3}}{1792}+\frac {4267751 \left (12 x^{2}+17 x +6\right )^{\frac {3}{2}} x^{2}}{14336}+\frac {129220757 \left (12 x^{2}+17 x +6\right )^{\frac {3}{2}} x}{458752}-\frac {125455 \sqrt {12}\, \ln \left (\frac {\left (12 x +\frac {17}{2}\right ) \sqrt {12}}{12}+\sqrt {12 x^{2}+17 x +6}\right )}{3623878656}+\frac {2473875847 \left (12 x^{2}+17 x +6\right )^{\frac {3}{2}}}{33030144}+\frac {125455 \left (24 x +17\right ) \sqrt {12 x^{2}+17 x +6}}{150994944} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.00, size = 155, normalized size = 1.04 \begin {gather*} \frac {27}{2} \, {\left (12 \, x^{2} + 17 \, x + 6\right )}^{\frac {3}{2}} x^{5} - \frac {8613}{112} \, {\left (12 \, x^{2} + 17 \, x + 6\right )}^{\frac {3}{2}} x^{4} + \frac {14991}{1792} \, {\left (12 \, x^{2} + 17 \, x + 6\right )}^{\frac {3}{2}} x^{3} + \frac {4267751}{14336} \, {\left (12 \, x^{2} + 17 \, x + 6\right )}^{\frac {3}{2}} x^{2} + \frac {129220757}{458752} \, {\left (12 \, x^{2} + 17 \, x + 6\right )}^{\frac {3}{2}} x + \frac {2473875847}{33030144} \, {\left (12 \, x^{2} + 17 \, x + 6\right )}^{\frac {3}{2}} + \frac {125455}{6291456} \, \sqrt {12 \, x^{2} + 17 \, x + 6} x - \frac {125455}{1811939328} \, \sqrt {3} \log \left (4 \, \sqrt {3} \sqrt {12 \, x^{2} + 17 \, x + 6} + 24 \, x + 17\right ) + \frac {2132735}{150994944} \, \sqrt {12 \, x^{2} + 17 \, x + 6} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 5.08, size = 187, normalized size = 1.26 \begin {gather*} \frac {4267751\,x^2\,{\left (12\,x^2+17\,x+6\right )}^{3/2}}{14336}+\frac {14991\,x^3\,{\left (12\,x^2+17\,x+6\right )}^{3/2}}{1792}-\frac {8613\,x^4\,{\left (12\,x^2+17\,x+6\right )}^{3/2}}{112}+\frac {27\,x^5\,{\left (12\,x^2+17\,x+6\right )}^{3/2}}{2}-\frac {146030443\,\sqrt {12}\,\ln \left (\sqrt {12\,x^2+17\,x+6}+\frac {\sqrt {12}\,\left (12\,x+\frac {17}{2}\right )}{12}\right )}{88080384}+\frac {438091329\,\left (\frac {x}{2}+\frac {17}{48}\right )\,\sqrt {12\,x^2+17\,x+6}}{229376}+\frac {2473875847\,\sqrt {12\,x^2+17\,x+6}\,\left (1152\,x^2+408\,x-291\right )}{3170893824}+\frac {129220757\,x\,{\left (12\,x^2+17\,x+6\right )}^{3/2}}{458752}+\frac {42055889399\,\sqrt {12}\,\ln \left (2\,\sqrt {12\,x^2+17\,x+6}+\frac {\sqrt {12}\,\left (24\,x+17\right )}{12}\right )}{25367150592} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {\left (3 x + 2\right ) \left (4 x + 3\right )} \left (3 x - 10\right )^{2} \left (3 x + 2\right )^{2} \left (4 x + 3\right )^{2}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________